[INFO] cloning repository https://github.com/periklis/rust-microservice-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/periklis/rust-microservice-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperiklis%2Frust-microservice-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperiklis%2Frust-microservice-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4059aa536017074a7a67f3fbe87e2e690dca5c3
[INFO] testing periklis/rust-microservice-example against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperiklis%2Frust-microservice-example" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/periklis/rust-microservice-example on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/periklis/rust-microservice-example
[INFO] finished tweaking git repo https://github.com/periklis/rust-microservice-example
[INFO] tweaked toml for git repo https://github.com/periklis/rust-microservice-example written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/periklis/rust-microservice-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/hyperium/hyper.git`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 625885ee49236efe63c183cdbd4511d6f70886b0949fed311d7ca36033788ed8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "625885ee49236efe63c183cdbd4511d6f70886b0949fed311d7ca36033788ed8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "625885ee49236efe63c183cdbd4511d6f70886b0949fed311d7ca36033788ed8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "625885ee49236efe63c183cdbd4511d6f70886b0949fed311d7ca36033788ed8", kill_on_drop: false }`
[INFO] [stdout] 625885ee49236efe63c183cdbd4511d6f70886b0949fed311d7ca36033788ed8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 37143fe5c4eee764c3c05a90f73f0af2a15b62e2ab66b0d9df5a8b1a87e752d5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "37143fe5c4eee764c3c05a90f73f0af2a15b62e2ab66b0d9df5a8b1a87e752d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling http-body v0.4.1
[INFO] [stderr]    Compiling pretty_env_logger v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling hyper v0.14.7 (https://github.com/hyperium/hyper.git?branch=master#d1d2f32a)
[INFO] [stderr]    Compiling rs-microservice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::Server`
[INFO] [stdout]   --> src/main.rs:15:46
[INFO] [stdout]    |
[INFO] [stdout] 15 | use hyper::{Body, Method, Request, Response, Server};
[INFO] [stdout]    |                                              ^^^^^^ no `Server` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `ReqBody` is not a member of trait `Service`
[INFO] [stdout]    --> src/main.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 106 |     type ReqBody = Body;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ not a member of trait `Service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `ResBody` is not a member of trait `Service`
[INFO] [stdout]    --> src/main.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     type ResBody = Body;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ not a member of trait `Service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `rt` in `hyper`
[INFO] [stdout]    --> src/main.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 156 |     hyper::rt::run(server);
[INFO] [stdout]     |            ^^ could not find `rt` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Future  = Box<Future<Item = Response<Self::ResBody>, Error = Self::Error> + 'a + Send>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Response<Self::ResBody>, Error = Self::Error> + 'a + Send`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/main.rs:1:9
[INFO] [stdout]     |
[INFO] [stdout] 1   | #![deny(warnings)]
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for trait `Service`
[INFO] [stdout]    --> src/main.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl<'a> Service for App<'a> {
[INFO] [stdout]     |          ^^^^^^^ expected 1 type argument
[INFO] [stdout]     |
[INFO] [stdout] note: trait defined here, with 1 type parameter: `Request`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tower-service-0.3.1/src/lib.rs:234:11
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub trait Service<Request> {
[INFO] [stdout]     |           ^^^^^^^ -------
[INFO] [stdout] help: use angle brackets to add missing type argument
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl<'a> Service<Request> for App<'a> {
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `ResBody` not found for `Self`
[INFO] [stdout]    --> src/main.rs:109:53
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Future  = Box<Future<Item = Response<Self::ResBody>, Error = Self::Error> + 'a + Send>;
[INFO] [stdout]     |                                                     ^^^^^^^ associated type `ResBody` not found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `ReqBody` not found for `Self`
[INFO] [stdout]    --> src/main.rs:111:43
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn call(&mut self, req: Request<Self::ReqBody>) -> Self::Future {
[INFO] [stdout]     |                                           ^^^^^^^ associated type `ReqBody` not found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0220, E0432, E0433, E0437.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rs-microservice`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "37143fe5c4eee764c3c05a90f73f0af2a15b62e2ab66b0d9df5a8b1a87e752d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37143fe5c4eee764c3c05a90f73f0af2a15b62e2ab66b0d9df5a8b1a87e752d5", kill_on_drop: false }`
[INFO] [stdout] 37143fe5c4eee764c3c05a90f73f0af2a15b62e2ab66b0d9df5a8b1a87e752d5
